﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Warehouse.Infrstructre.Migrations
{
    /// <inheritdoc />
    public partial class 报损产品关联的库位外键 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "InjureStock",
                table: "InProducts",
                newName: "StorehouseId");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "StorehouseId",
                table: "InProducts",
                newName: "InjureStock");
        }
    }
}
